﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s" %> 

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML >
<html>
  <head>
    <base href="<%=basePath%>">
    <title>${post.title}</title>
    <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page"> 
    <link rel="stylesheet" href="<%=request.getContextPath()%>/admin/css/pintuer.css">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/admin/css/admin.css">
    <script src="<%=request.getContextPath()%>/admin/js/jquery.js"></script>
    <script src="<%=request.getContextPath()%>/admin/js/pintuer.js"></script>
  	<style type="text/css">
  		img{
  			width:100%;
  		}
  	</style>
  </head>
  
  <body style="background:#fff;">
  	<div style="text-align:center;font-size:18px;line-height:35px;">${post.title }</div>
  	<div style="width:94%;margin-left:3%;color:green;line-height:20px;">${post.writer }&nbsp;|&nbsp;${post.time }</div>
  	<div style="width:94%;margin-left:3%;color:gray;font-size:13px;line-height:25px;">${post.yinwen }</div>
	<div style="width:94%;margin-left:3%;font-size:14px;line-height:30px;">
		${post.content }
	</div> 
	<div style="width:100%;clear:both;height:45px;"></div>
    	<jsp:include page="./tmpfoot.jsp"></jsp:include>  
  </body>
</html>